package com.tangyuan.answer.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.tangyuan.answer.mapper.AnswertopaperMapper;
import com.tangyuan.answer.service.IAnswertopaperService;
import com.tangyuan.model.Answertopaper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class AnswertopaperServiceImpl extends ServiceImpl<AnswertopaperMapper, Answertopaper> implements IAnswertopaperService {
    @Autowired
    private AnswertopaperMapper answertopaperMapper;
    @Override
    public List<Answertopaper> checkAnswertopaper(Long userId, Long objectId, Long gradeId) {
       return answertopaperMapper.checkAnswertopaper(userId,objectId,gradeId);
    }
}
